<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">

<title></title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">    

</head>

<body>
	<table border="1">
		<tr>
			<td>用户名</td>
			<td>密码</td>
			<td>备注</td>
			<td>操作</td>
		</tr>
		<c:forEach var="user" items="${userList}">
			<tr>
				<td>${user.userName }</td>
				<td>${user.password }</td>
				<td>${user.note }</td>
				<td>
					<a href="user/goShowOneUser?id=${user.id}">查看</a>|
					<a href="user/goChangeUser?id=${user.id}">修改</a>|
					<a href="user/delUser?id=${user.id}" onclick="return confirm('确认删除？')">删除</a>
				</td>
			</tr>
		</c:forEach>
	</table>
	${msg }
	<a href="daohan.jsp">返回</a>
</body>
</html>	
